package org.aurora.model.type;

/**
 * 调度任务状态
 */
public enum ScheduleTaskState {
    INIT(1),
    RUNNING(2),
    SUCCEEDED(3),
    FAILED(4);

    private final int code;

    ScheduleTaskState(int code) {
        this.code = code;
    }

    public int getCode() {
        return this.code;
    }
}
